package work.parabola.keyboardswitch.dao;

import org.apache.ibatis.annotations.Param;
import work.parabola.keyboardswitch.pojo.repository.AuthorDo;

import java.util.List;

public interface AuthorDoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AuthorDo record);

    int insertSelective(AuthorDo record);

    AuthorDo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AuthorDo record);

    int updateByPrimaryKey(AuthorDo record);

    List<AuthorDo> selectByParam(@Param("searchWord") String searchWord);
}